@import "./common";

.wrap {
    main {
        .problemsBox {
            width: 100%;
            margin-top: 60px;

            >.title {
                @extend %title;
            }

            .problemsCont {
                display: flex;
                flex-direction: column;

                .item {
                    display: flex;
                    justify-content: center;
                    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 100%);

                    .container {
                        width: 1200px;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        .textBox {
                            color: rgba(51, 51, 51, 1);

                            .title {
                                font-size: 30px;
                                font-weight: 700;
                                line-height: 40px;
                            }

                            .m_title {
                                font-size: 20px;
                                padding: 10px 0;
                                position: relative;

                                &::before {
                                    content: "";
                                    position: absolute;
                                    width: 30px;
                                    height: 3px;
                                    background-color: #FF220B;
                                    top: 100%;
                                }
                            }

                            .content {
                                display: flex;
                                flex-wrap: wrap;
                                margin-top: 40px;

                                .cont_item {
                                    width: calc(50% - 1px);
                                    box-sizing: border-box;

                                    .item_title {
                                        font-size: 18px;
                                        font-weight: 700;
                                    }

                                    .item_text {
                                        padding-top: 15px;
                                    }
                                }
                            }
                        }
                    }

                    &:nth-child(2) {
                        .container {
                            .textBox {
                                .content {
                                    .cont_item {
                                        width: 214px;
                                        display: flex;

                                        .item_text {
                                            padding-left: 10px;
                                        }
                                    }
                                }
                            }
                        }
                    }

                    &:nth-child(3),
                    &:nth-child(4) {
                        .container {
                            .textBox {
                                .content {
                                    flex-direction: column;

                                    .cont_item {
                                        width: 100%;

                                        .item_text {
                                            padding: 10px 0 20px;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

        }

        .empowermentBox {
            width: 100%;
            margin-top: 80px;
            background-image: url(../img/settle/bg4.png);
            background-repeat: no-repeat;
            background-size: cover;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-bottom: 60px;

            .title {
                @extend %title;
            }

            .cont {
                width: 1200px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                margin-top: 40px;

                .item {
                    width: calc(50% - 10px);
                    box-shadow: 0 3px 36px rgb(51 51 51 / 10%);
                    margin-bottom: 20px;
                    padding: 20px;
                    background-color: #fff;
                    box-sizing: border-box;

                    .item_icon {
                        display: flex;
                        align-items: center;
                        margin-bottom: 15px;

                        span {
                            color: rgba(25, 27, 38, 1);
                            font-size: 24px;
                            font-weight: 700;
                            margin-left: 10px;
                        }
                    }
                }
            }
        }

        .bannerBox {
            width: 100%;
            background-color: #F6F6F8;
            padding-bottom: 40px;

            .title {
                @extend %title;
                padding: 40px 0;
            }

            .banner {
                width: 1200px;
                position: relative;
                margin: 0 auto;
                overflow: hidden;

                .swiper-container {
                    .swiper-wrapper {
                        .swiper-slide {
                            width: 276px;
                            height: 560px;
                            border-radius: 40px;
                            border: 1px solid rgba(255, 37, 14, 1);
                            background: rgba(255, 255, 255, 1);
                            box-sizing: border-box;
                            overflow: hidden;
                            transition: transform, padding 1s;

                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }
                }

                .swiper-button-prev,
                .swiper-button-next {
                    img {
                        width: 148px;
                        height: 148px;
                    }
                }

                .swiper-button-prev {
                    left: 50px;
                }

                .swiper-button-next {
                    right: 50px;
                }

                .swiper-button-prev::after,
                .swiper-button-next::after {
                    content: '';
                }
            }
        }

        .standardBox {
            width: 1200px;
            margin: 0 auto;
            margin-top: 80px;
            padding-bottom: 65px;

            .title {
                @extend %title;
            }

            .cont {
                width: 100%;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                margin-top: 40px;

                .item {
                    width: calc(50% - 10px);
                    box-shadow: 0 3px 36px rgb(51 51 51 / 10%);
                    display: flex;
                    align-items: center;
                    padding: 30px;
                    box-sizing: border-box;
                    background-size: cover;
                    background-color: #fff;
                    margin-bottom: 20px;

                    &:nth-child(1) {
                        background-image: url(../img/settle/div1.png);
                    }

                    &:nth-child(2) {
                        background-image: url(../img/settle/div2.png);
                    }

                    &:nth-child(3) {
                        background-image: url(../img/settle/div3.png);
                    }

                    &:nth-child(4) {
                        background-image: url(../img/settle/div4.png);
                    }
                }
            }
        }

        .settleBox {
            width: 100%;
            background-image: url(../img/agent/bg.png);
            background-size: cover;
            background-repeat: no-repeat;

            .container {
                width: 1200px;
                margin: 0 auto;
                padding: 45px 0;
                display: flex;
                flex-direction: column;
                align-items: center;

                .title {
                    @extend %title;
                }

                .m_title {
                    margin: 38px 0 40px;
                    font-weight: 500;
                    line-height: 50px;
                    color: #333;
                    text-align: center;
                }

                .info_form {
                    width: 100%;
                    max-width: 1014px;
                    margin: 0 auto;

                    form {
                        display: flex;
                        flex-wrap: wrap;

                        div {
                            width: 50%;
                            display: flex;
                            margin-bottom: 35px;
                            position: relative;

                            label {
                                width: 110px;
                                font-size: 20px;
                                line-height: 40px;
                                text-align: right;
                                vertical-align: middle;
                                box-sizing: border-box;
                            }

                            input {
                                background-color: #fff;
                                border-radius: 4px;
                                border: 1px solid #dcdfe6;
                                box-sizing: border-box;
                                color: #606266;
                                height: 40px;
                                line-height: 40px;
                                outline: 0;
                                padding: 0 15px;
                                cursor: pointer;

                                &:hover {
                                    border: 1px solid #c0c4cc;
                                }
                            }

                            button {
                                margin-left: 10px;
                                background: #f2f2f2;
                                width: 120px;
                                height: 100%;
                                border-radius: 6px;
                                color: #999;
                                cursor: pointer;
                                outline: 0;
                                border: 1px solid #dcdfe6;
                                font-size: 12px;
                                transition: all 0.3s;

                                &:hover {
                                    border: 1px solid skyblue;
                                }
                            }

                            span {
                                position: absolute;
                                top: 100%;
                                left: 110px;
                                color: #ff220b;
                                font-size: 16px;
                                padding-top: 5px;
                                display: none;
                            }
                        }
                    }
                }

                .submit {
                    width: 176px;
                    height: 70px;
                    margin-top: 10px;
                    background: #ff220b;
                    border-radius: 35px;
                    text-align: center;
                    font-size: 30px;
                    font-weight: 700;
                    line-height: 70px;
                    color: #fff;
                    letter-spacing: 3px;
                    cursor: pointer;
                }
            }
        }
    }
}